package com.gpnu7_412.yanzhi.mapper;

import com.gpnu7_412.yanzhi.entity.Handing;

import java.util.List;

/**
 * @author ZZH
 * @author HJJ
 * @deprecated
 */
public interface HandingMapper {
    /**
     * 根据用户ID删除举报信息
     * @param userId 用户ID
     * @return 影响条数
     */
    Integer deleteHandingByUserId(Integer userId);

    /**
     * 根据动态ID删除举报信息
     * @param dynamicId 动态ID
     * @return 影响条数
     */
    Integer deleteByDynamicId(Integer dynamicId);

    Integer add(Handing handing);
    //获取所欲代办信息
    List<Handing> selectAllHanding();
    //精确删除代办信息
    Integer deleteHandingAccurate(Handing handing);
}
